import { SerializeStream } from "../../Framework/Serialize/SerializeStream";
import { SEntityId } from "./SEntityId";
import { SGuildUnion } from "./SGuildUnion";
type int = number;
//class SRobCityTwoJoinTeam
    
    export  class SRobCityTwoJoinTeam
    {
       

        public __write(arg1: SerializeStream): void
        {
            this.sEntityId.__write(arg1);
            arg1.writeString(this.guildName);
            arg1.writeInt(this.groupId);
            arg1.writeInt(this.froce);
            arg1.writeInt(this.score);
            arg1.writeInt(this.bossNum);
            arg1.writeInt(this.rank);
            this.guildUnion.__write(arg1);
            return;
        }

        public __read(arg1: SerializeStream): void
        {
            this.sEntityId = new SEntityId();
            this.sEntityId.__read(arg1);
            this.guildName = arg1.readString();
            this.groupId = arg1.readInt();
            this.froce = arg1.readInt();
            this.score = arg1.readInt();
            this.bossNum = arg1.readInt();
            this.rank = arg1.readInt();
            this.guildUnion = new SGuildUnion();
            this.guildUnion.__read(arg1);
            return;
        }

        public /* var */sEntityId: SEntityId;

        public /* var */guildName: string;

        public /* var */groupId: int;

        public /* var */froce: int;

        public /* var */score: int;

        public /* var */bossNum: int;

        public /* var */rank: int;

        public /* var */guildUnion: SGuildUnion;
    }
